// Copyright (c) 2008 Matthew Johnson
// Licensed under the MIT License (see license.txt)
package actionml.animation {
	import flash.events.Event;
	public class TweenEvent extends Event {
		public static const PLAY_TWEEN = "playTween";
		public static const PAUSE_TWEEN = "pauseTween";
		public static const RESUME_TWEEN = "resumeTween";
		public static const LOOP_TWEEN = "loopTween";
		public static const STOP_TWEEN = "stopTween";
		public static const COMPLETE_TWEEN = "completeTween";
		public static const COMPLETE_ALL_TWEENS = "completeAllTweens";
		
		private var _tween:Tween;
		public function get tween():Tween { return _tween; }
			
		function TweenEvent(type:String, tween:Tween) {
			super(type, true, true);
			_tween = tween;
		}
	}
}